package elevatronic.controllers;
import elevatronic.models.Building;
import java.util.List;
import pl.gdan.elsy.qconf.Perception;
/**
 *
 * @author Exosta
 */
public class PerceptionElevator extends Perception {

    private ArtificialElevator elevator;
    private Building building;
    private Sensors sensors;
    
    public PerceptionElevator(ArtificialElevator elevator, Building building) {
        this.elevator = elevator;
        this.building = building;
        this.sensors = new Sensors(building, elevator);
    }
    @Override
    public boolean isUnipolar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public double getReward() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    protected void updateInputValues() {
        for (int sensor : sensors.sensoring()) {
            setNextValue(sensor);
        }
    }
    
    
}
